import axios from './config'

export async function getBSList () {
  return axios.get('/netbook/bsList')
}

export async function searchBook (searchOptions) {
  return axios.get('/netbook/search', {
    params: searchOptions
  })
}

export async function saveBook (saveOptions) {
  return axios.post('/netbook/save', saveOptions)
}
